package com.test.myflowable;

import com.test.myflowable.config.AppDispatcherServletConfiguration;
import com.test.myflowable.config.ApplicationConfiguration;
import com.test.myflowable.config.DatabaseAutoConfiguration;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RestController;



@Import(value = {ApplicationConfiguration.class, AppDispatcherServletConfiguration.class, DatabaseAutoConfiguration.class})
@SpringBootApplication(exclude = {SecurityAutoConfiguration.class})
public class App {
    public static void main(String[] args){
        try {   SpringApplication.run(App.class, args);}catch (Exception e){   e.printStackTrace();}
    }
}
